﻿@model InnoWeb.CEND.Core.Model.Expert.ExpertInfo
<div class="DetailBg">
    <div class="Detail ortala">
        <div class="Foto">
            <img src="@Url.Content("~/Content/Images/Full/"+Model.ImageUrl)" width="143" height="143" />
            <div class="isim">
                @Model.FullName
            </div>
            @*<div class="isi">
                @Model.ExpertiseField
            </div>*@
        </div>
        <div class="Aciklama">
            <img src="~/Images/Base/detailsagok.png" alt="Ok" class="SagOk" />
            <div class="ustParca">
            </div>
            <div class="ortaParca">
                @if (this.Request.Cookies["_culture"].Value == "tr-TR")
                {
                    <span class="baslik">@Model.ExpertiseFieldTR</span>@Model.DescriptionTR  
                }
                else
                {
                    <span class="baslik">@Model.ExpertiseField</span>@Model.Description
                }
                @*<span class="baslik">@Model.ShortDescription</span>@Model.Description*@
            </div>
            <div class="altParca">
            </div>
        </div>
        <div class="clr">
        </div>
        <div class="Digerleri">
            <span class="baslik">RELATED POSTS</span>
            @{
                var list = InnoWeb.CEND.UI.MVC.Controllers.HomeController.GetExpertItems();
            }
            <ul>

                @foreach (var item in list)
                {

                                    
                    <li><a href="@Url.Action("ExpertDetail", "Home", new { expertId = item.Id })">
                        <img src="@Url.Content("~/Content/Images/Full/"+item.ImageUrl)" alt="resim" width="70" height="68" />
                        <div class="Sag">
                            @if (this.Request.Cookies["_culture"].Value == "tr-TR")
                            {
                                <div class="baslik">
                                    @item.ExpertiseFieldTR
                                </div>
                                <div class="icerik">
                                    @item.ShortDescriptionTR
                                </div> 
                            }
                            else
                            {
                                <div class="baslik">
                                    @item.ExpertiseField
                                </div>
                                <div class="icerik">
                                    @item.ShortDescription
                                </div>
                            }
                            @*<div class="baslik">
                                @item.ExpertiseField
                            </div>
                            <div class="icerik">
                                @item.ShortDescription
                            </div>*@
                            <div class="isim">
                                @item.FullName
                            </div>
                        </div>
                    </a></li>
                }
            </ul>
        </div>
    </div>
</div>
